Checks If Files Exist
Description
Checks If Files Exist verifies the presence of one or more files or folders on the file system using direct paths or regular expression patterns. Use this process entry when your process depends on multiple input files being available — for example, confirming that all expected daily data feeds have arrived before triggering the processing workflow. The result controls the process flow, branching to success or failure paths based on whether all specified files are found.
Configurations
| Field Name | Description |
|---|---|
| Process Entry name | Specify a unique name for the process entry, on the workspace area. A process entry can be placed on the canvas several times; and each instance of the entry must have a unique name. |
| File/folder name | Click File…/Folder… to select the targeted location and then click Add to add the selection in Files/Folders table field. |
| Files/Folders: | This is a tabular section. |
| File/folder | Specify the input field that will contain the filename at runtime Note: The field supports regular expressions for the last segment (node) of the file path. For example, C:\\Users\\Documents\\Project\\files\\file_*.txt, the regular expression will only apply to the file_*.txt segment.Wild Cards Example: 1. * : Matches zero or more characters in the last segment. Path: C:\Users\Documents\Project\files\file_*.txtExplanation: To match any file in the folder, that starts with file_ and has a .txt extension. 2. ? : Matches exactly one character in the last segment. Path: C:\Users\Documents\Project\files\file_?.txt Explanation: To match any file in the folder where file_ is followed by exactly one character and ends with .txt, such as file_a.txt, file_1.txt 3. [abc] : Matches any one of the specified characters in the brackets. Path: C:\Users\Documents\Project\files\file_[abc].txt Explanation: To match any file in the folder where file_ is followed by a, b, or c and ends with .txt, such as file_a.txt,or file_b.txt, or file_c.txt |